<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单客户信息</title>
<style>
#collarul li{
	border: 1px solid #9FC;
	list-style-position: inside;
	display:inline-block;
	background-color:#cccccc;
	width:120px;
}
#collarul li label{
	width:50px;
}
</style>
<link rel="stylesheet" href="${basepath}/css/pm.css" type="text/css">
</head>
<body>
	<div id="collarmaterialdiv" style="display:none;">
		<fieldset>
		<legend>领料信息</legend>
		<form name="collarform" id="collarform" action="${basepath}/collar/create.htm" method="post">
			<input type="hidden" name="productId" value="${productId}"/>
			<ul id="collarul">
			</ul>
			<input type="submit" value="提 交" />
		</form>	
		</fieldset>
	</div>
	<div>
	<fieldset>
		<legend>物料列表</legend>
	<div id="materialdiv">
		<form name="materialform" target="result_page"  id="materialform" action="${basepath}/collar/material/page.htm" method="post"  onsubmit="javascript: materialformsubmit();">
			<input type="hidden" id="pageno" name="pageno" />
			<input type="hidden" id="defaultpageno" value="${pageno}"/>
			<input type="hidden" id="pagesize" name="pagesize" />
			<input type="hidden" id="defaultpagesize"  value="${pagesize}"/>
			<dl>
				<dt>物料名称:<input name="materialName" type="text"/></dt>
				<dt>
					<input type="submit" value="搜 索"/>
				</dt>
			<dl>
		</form>
	</div>
	<div id="core_div">
		<iframe id="result_page" name="result_page" frameborder="0" width="99%" height="350px" src="${basepath}/collar/material/page.htm" ></iframe>
	</div>
	</div>
</body>
<script type="text/javascript" src="${basepath}/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
function materialformsubmit(){
	document.getElementById("pagesize").value = document.getElementById("defaultpagesize").value;
	document.getElementById("pageno").value = document.getElementById("defaultpageno").value;
}
function removecollar(thisz){
	$(thisz).parent().remove();
}
</script>
</html>